
export class ContactList extends React.Component {
    render() {
        let contactData = this.props.data;
        let list = contactData.map((item)=>{
            return (
                <li>{item.name}</li>
            )
        });

        return (
            <ol>
                {list}
            </ol>
        );
    }
}